package mpxj;

import java.util.Date;

public class TaskBean {
	/** 编号 **/
	private int id;
	/** 父节点编号 **/
	private int parentId;
	/** 任务名称 **/
	private String taskName;
	/** 工期 **/
	private double duration;
	/** 开始时间 **/
	private Date startTime;
	/** 结束时间 **/
	private Date finishTime;
	/** 完成百分比 **/
	private Double percentageComplete;
	/** 资源 **/
	private String resource;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public String getTaskName() {
		return taskName;
	}
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	public double getDuration() {
		return duration;
	}
	public void setDuration(double duration) {
		this.duration = duration;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getFinishTime() {
		return finishTime;
	}
	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}
	public String getResource() {
		return resource;
	}
	public void setResource(String resource) {
		this.resource = resource;
	}
	public Double getPercentageComplete() {
		return percentageComplete;
	}
	public void setPercentageComplete(Double percentageComplete) {
		this.percentageComplete = percentageComplete;
	}

}
